﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/Admin.Master" AutoEventWireup="true" CodeBehind="ManageService.aspx.cs" Inherits="MobiMap.Admin.ManageService" Title="Untitled Page" %>
<%@ Register TagPrefix="UserControl"  TagName="PlaceUC"  Src="~/Admin/placeUC.ascx" %>


<asp:Content ID="ctHead" ContentPlaceHolderID="head" runat="server">
    <title>Manage Service</title>
    
    <script type="text/javascript">
    function checkNewPlaceInfo()
    {
        checkFullName();
        checkAddress();
        checkLatLong();
        
        if(errorFullName == true || errorAddress == true || errorLatLong == true)
            return false;
            
        return false;
    }
    </script>

</asp:Content>
<asp:Content ID="ctMain" ContentPlaceHolderID="mainArea" runat="server">
    <div id="divService">
        <br />
        <div class="divFunction" onclick="ShowHideFunctionContent()">
            <div id="viewAdd" class="divHor">
                <asp:Label ID="lbFunctionTitle" runat="server" Text="Add new place"></asp:Label>
            </div>
        </div>
        <div align="center" id="add" class="placeUC_wrapper">
            <UserControl:PlaceUC ID="placeUC" runat="server" />        
            <asp:Button runat="server" Text="Add" ID="btnAdd" CssClass="button" 
            OnClientClick="return checkNewPlaceInfo();" OnClick="btnAdd_Click" />
            <br />
            <asp:Label runat="server" ID="lbMessageAddService" Text="" />
        </div>
        <br />
    </div>
</asp:Content>
